-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function case #317
Function case #317
Conversation
Signed-off-by: pem70 <[email protected]>
Signed-off-by: pem70 <[email protected]>
Signed-off-by: pem70 <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #317 +/- ##
==========================================
+ Coverage 89.89% 89.90% +0.01%
==========================================
Files 53 53
Lines 2819 2813 -6
==========================================
- Hits 2534 2529 -5
+ Misses 285 284 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: pem70 <[email protected]>
Signed-off-by: pem70 <[email protected]>
.github/workflows/sdk-build.yml
Outdated
- name: Lint with pylint | ||
run: pylint src --disable=all --enable=C0103 --ignore=build | ||
- name: Lint with flake8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we're adopting pylint
then should we remove all references to flakes8
rather than having a mix of both?
- Remove step that runs
flake8
in this workflow - Remove
pyflakes
dependency from requirements.txt - Update
.vscode/settings.json
to include setting that enables Pylint in VS Code - Replace
flakes8
withpylint
in "Code Standards" section of CONTRIBUTING.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I definitely think this is worth considering, but in the interest of avoiding scope creep, maybe this can be created as a separate issue?
Update: Sorry, didn't realize that pylint
was not in the codebase before this PR. If there is a flake8
rule we could use, we should leverage what's already in the dependencies instead - otherwise, maybe we can create an issue to remove flake8
if there isn't another use for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll leave it up to @pem70 to handle that issue as part of this PR or as part of a new one 😋
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will handle this as part of this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM, thanks @pem70!
Co-authored-by: Trae Yelovich <[email protected]> Signed-off-by: Peizhao Mei <[email protected]>
Signed-off-by: pem70 <[email protected]>
…ython-sdk into function_case
Signed-off-by: pem70 <[email protected]>
Signed-off-by: pem70 <[email protected]>
Signed-off-by: pem70 <[email protected]>
Signed-off-by: pem70 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @pem70! I ran system tests and they all passed 😋
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably publish a new version after this PR is merged since it contains quite a few breaking changes. 😋
That way, people have a chance to try things out before we publish a 1.0.0 (hopefully next week) 🙏🏽
What It Does
Addresses [#315] by employing pylint for function name checks.
How to Test
Review Checklist
I certify that I have:
Additional Comments